/**
 * Created by dywu on 2015/9/24.
 */
var app = angular.module('vrffmapp', [
    'ui.router',
    'angularUtils.directives.dirPagination',
    'ng.comfirm',
    'verification.filter',
    'module.verification.template',
    'app.module.management',
    'app.auth',
    'app.service.auth',
    'app.service.management',
]);

app.run(['$rootScope','$state','$stateParams', function ($rootScope, $state, $stateParams) {
    $rootScope.$state = $state;
    $rootScope.$stateParams = $stateParams;
}]);

app.config(['$stateProvider','$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
    $urlRouterProvider.otherwise('/login');
}]);
